Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-542

clean JDK patch version in module-info.class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.11.0
    • 3.12.0
    • None

    Description

      as seen in MJAR-275, JDK patch version in module-info.class is NOT included only when building with a newer JDK release using "--release" flag, see https://github.com/jvm-repo-rebuild/module-info

      issue https://bugs.openjdk.org/browse/JDK-8318913 created in JDK to get a proper fix at javac level (probably for Java 22)

      and waiting for that, we need a workaround to drop the JDK patch version in other cases: we'll need to define where is the best place – m-jar-p?m-compiler-p? other?

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              hboutemy Herve Boutemy
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: